package org.b.a.a.a;

import java.io.PrintStream;
import java.io.PrintWriter;
import java.io.Serializable;
import java.io.StringWriter;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Collections;
import java.util.Iterator;
import java.util.List;

public final class c
  implements Serializable
{
  private static boolean b = true;
  private static boolean c = true;
  private static boolean d = true;
  private Throwable a = null;

  public c(a parama)
  {
    if ((parama instanceof Throwable))
    {
      Throwable localThrowable = (Throwable)parama;
      this.a = localThrowable;
      return;
    }
    throw new IllegalArgumentException("The Nestable implementation passed to the NestableDelegate(Nestable) constructor must extend java.lang.Throwable");
  }

  private static void a(List paramList)
  {
    int i = paramList.size() - 1;
    while (i > 0)
    {
      String[] arrayOfString1 = (String[])paramList.get(i);
      int j = i - 1;
      String[] arrayOfString2 = (String[])paramList.get(j);
      List localList1 = Arrays.asList(arrayOfString1);
      ArrayList localArrayList1 = new ArrayList(localList1);
      List localList2 = Arrays.asList(arrayOfString2);
      ArrayList localArrayList2 = new ArrayList(localList2);
      //d.a(localArrayList1, localArrayList2);
      int k = arrayOfString1.length;
      int m = localArrayList1.size();
      int n = k - m;
      if (n > 0)
      {
        String str = "\t... " + n + " more";
        boolean bool = localArrayList1.add(str);
        String[] arrayOfString3 = new String[localArrayList1.size()];
        Object[] arrayOfObject = localArrayList1.toArray(arrayOfString3);
        Object localObject = paramList.set(i, arrayOfObject);
      }
      i += -1;
    }
  }

  public final void a()
  {
    PrintStream localPrintStream = System.err;
    a(localPrintStream);
  }

  public final void a(PrintStream paramPrintStream)
  {
//    monitorenter;
//    try
//    {
//      PrintWriter localPrintWriter = new PrintWriter(paramPrintStream, 0);
//      a(localPrintWriter);
//      localPrintWriter.flush();
//      monitorexit;
//      return;
//    }
//    finally
//    {
//      localObject = finally;
//      monitorexit;
//    }
//    throw localObject;
  }

  public final void a(PrintWriter paramPrintWriter)
  {
//    this = this.a;
//    if (d.a())
//      if ((this instanceof a))
//        ((a)this).a(paramPrintWriter);
//    while (true)
//    {
//      return;
//      printStackTrace(paramPrintWriter);
//      continue;
//      Object localObject1 = new ArrayList();
//      Object localObject2 = this;
//      if (localObject2 != null)
//      {
//        StringWriter localStringWriter = new StringWriter();
//        PrintWriter localPrintWriter = new PrintWriter(localStringWriter, 1);
//        if ((localObject2 instanceof a))
//          ((a)localObject2).a(localPrintWriter);
//        while (true)
//        {
//          String[] arrayOfString = d.a(localStringWriter.getBuffer().toString());
//          boolean bool = ((List)localObject1).add(arrayOfString);
//          localObject2 = d.a((Throwable)localObject2);
//          break;
//          ((Throwable)localObject2).printStackTrace(localPrintWriter);
//        }
//      }
//      localObject2 = "Caused by: ";
//      if (!b)
//      {
//        localObject2 = "Rethrown as: ";
//        Collections.reverse((List)localObject1);
//      }
//      if (c)
//        a((List)localObject1);
//      monitorenter;
//      try
//      {
//        localObject1 = ((List)localObject1).iterator();
//        while (((Iterator)localObject1).hasNext())
//        {
//          this = (String[])((Iterator)localObject1).next();
//          int i = 0;
//          int j = this.length;
//          while (i < j)
//          {
//            String str = this[i];
//            paramPrintWriter.println(str);
//            i += 1;
//          }
//          if (!((Iterator)localObject1).hasNext())
//            continue;
//          paramPrintWriter.print((String)localObject2);
//        }
//      }
//      finally
//      {
//        monitorexit;
//      }
//      monitorexit;
//    }
 }
}

/* Location:           E:\AndroidDecompiler\jd-gui-0.3.3.windows\newrclasses.dex.dex2jar.jar
 * Qualified Name:     org.b.a.a.a.c
 * JD-Core Version:    0.6.0
 */